﻿using Mate.Db.Model.Good;
using Mate.Db.Model.Merchant;
using System;
using System.Collections.Generic;
using System.Text;

namespace Mate.Dto.Good
{
    public class GoodModel: mp_good
    {
        /// <summary>
        /// Desc:分类名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string good_category_name { get; set; }

        /// <summary>
        /// Desc:商户名
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string merchantname { get; set; }

        private IList<GoodCategoryTreeModel> _goodCategoryList;
        /// <summary>
        /// 商品类型
        /// </summary>
        public IList<GoodCategoryTreeModel> GoodCategoryList
        {
            get { return _goodCategoryList ?? (_goodCategoryList = new List<GoodCategoryTreeModel>()); }
            set { _goodCategoryList = value; }
        }

        private IList<mp_merchant> _merchantList;
        /// <summary>
        /// 商品类型
        /// </summary>
        public IList<mp_merchant> MerchantList
        {
            get { return _merchantList ?? (_merchantList = new List<mp_merchant>()); }
            set { _merchantList = value; }
        }
    }
}
